import Vue from 'vue'
import App from './App'
import './uni.promisify.adaptor'
import uView from "uview-ui";
Vue.use(uView);

import {router,RouterMount} from './router/index'  //路径换成自己的
Vue.use(router)
//引入vuex
import store from "./store";
Vue.config.productionTip = false
App.mpType = 'app'

const app = new Vue({
  ...App,
  store,
})
// #ifdef H5
RouterMount(app,router,'#app');
// #endif

// #ifndef H5
	app.$mount(); //为了兼容小程序及app端必须这样写才有效果
// #endif
